<!DOCTYPE html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title><?php echo $this->pageTitle ?></title>
    <meta name="description" content=""/>
    <meta name="keywords" content=""/>

    <link
        href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800|Raleway:400,300,600,700,500|Noto+Sans:400,700|Ubuntu:300,400,500,700"
        rel="stylesheet" type="text/css">
    <!-- Styles -->
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/css/bootstrap.min.css"
          type="text/css"/>
    <!-- Bootstrap -->
    <link rel="stylesheet"
          href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/font-awesome-4.0.3/css/font-awesome.css"
          type="text/css"/>
    <!-- Font Awesome -->
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/css/owl.carousel.css"
          type="text/css"/>
    <!-- Owl Carousal -->
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/css/animate.css"
          type="text/css"/>
    <!-- Animation -->
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/css/style.css" type="text/css"/>
    <!-- Style -->
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/css/responsive.css"
          type="text/css"/>
    <!-- Responsive -->
    <link rel="stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/css/revolution.css" media="screen"/>
    <!-- Slider Revolution -->
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/css/green.css"
          title="green"/>
    <!-- Black -->
    <link rel="alternate stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/css/black.css" title="black"/>
    <!-- Black -->
    <link rel="alternate stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/css/pink.css" title="pink"/>
    <!-- Pink -->
    <link rel="alternate stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/css/gray.css" title="gray"/>
    <!-- Gray -->
    <link rel="alternate stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/css/grunge.css" title="grunge"/>
    <!-- Grunge -->
    <link rel="alternate stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl ?>/assets/main/css/brown.css" title="brown"/>
    <!-- Brown -->

</head>
<body>
<div class="theme-layout">
<header class="header1">
    <div class="container">
        <div class="top-bar">
            <ul class="language bar-dropdown">
                <li><a href="#" title=""><i class="fa fa-font"></i>English</a>
                    <ul>
                        <li><a href="#" title="English" data-lang="en">ENGLISH</a></li>
                        <li><a href="#" title="Vietnamese" data-lang="vi">Vietnamese</a></li>
                    </ul>
                </li>
            </ul>
            <?php
            foreach ($this->phoneContact as $phone) {
                echo CHtml::openTag("span");
                echo CHtml::openTag("i", array("class" => "fa fa-mobile"));
                echo CHtml::closeTag("i");
                echo 'Support : ';
                echo $phone->content_dtl;
                echo CHtml::closeTag("span");
            }
            ?>
        </div>
    </div>
    <nav>
        <div class="container">
            <div class="logo">
                <?php
                if (isset($this->logoWebsite))
                    echo CHtml::link('<img src="' . Yii::app()->request->baseUrl . $this->logoWebsite->content_dtl . '" alt="' . $this->logoWebsite->title . '"/>', '#', array('title' => $this->logoWebsite->title));
                ?>
            </div>

            <div class="menu">
                <?php $this->widget('application.extensions.TopMenu'); ?>
                <ul>
                    <li><a href="#" title="">Trang Chu<span>&nbsp;</span></a></li>
                    <li><a href="#" title="">Quat Cong Nghiep<span>&nbsp;</span></a>
                        <ul>
                            <li><a href="./mega-menu.html" title="">4 Styles Mega Menu</a></li>
                            <li><a href="#" title="">Header Styles</a>
                                <ul>
                                    <li><a href="./header1.html" title="">Header Style 1</a></li>
                                    <li><a href="./header2.html" title="">Header Style 2</a></li>

                                </ul>
                            </li>
                            <li><a href="./boxed.html" title="">Boxed Layout</a></li>
                            <li><a href="./wide.html" title="">Wide Layout</a></li>
                            <li><a href="#" title="">Compare Product</a>
                                <ul>
                                    <li><a href="./compare.html" title="">Compare Product </a></li>
                                    <li><a href="./compare2.html" title="">Compare Product 2</a></li>
                                </ul>
                            </li>
                            <li><a href="./widgets.html" title="">Widgets</a></li>
                            <li><a href="#" title="">Products Page</a>
                                <ul>
                                    <li><a href="./product1.html" title="">Masonary Product</a></li>
                                    <li><a href="./product4.html" title="">Masonary Product 2</a></li>
                                    <li><a href="./product3.html" title="">Searchable Products</a></li>
                                    <li><a href="./product2.html" title="">Products Page</a></li>
                                </ul>
                            </li>
                            <li><a href="./price-table.html" title="">2 Price Tables</a></li>
                        </ul>
                    </li>
                    <li><a href="#" title="">He thong Cong Nghiep<span>&nbsp;</span></a>
                        <ul class="mega2">
                            <li><a href="#" title="">Cart Pages</a>
                                <ul>
                                    <li><a href="./cart.html" title="">Cart</a></li>
                                </ul>
                            </li>
                            <li><a href="./index5.html" title="">Blog Page</a>
                                <ul>
                                    <li><a href="./blog.html" title="">Masonary Blog</a></li>
                                    <li><a href="./blog2.html" title="">Blog One Column</a></li>
                                </ul>
                            </li>

                            <li><a href="#" title="">Products Page</a>
                                <ul>
                                    <li><a href="./product1.html" title="">Masonary Product</a></li>
                                    <li><a href="./product4.html" title="">Masonary Product 2</a></li>
                                    <li><a href="./product3.html" title="">Searchable Products</a></li>
                                    <li><a href="./product2.html" title="">Products Page</a></li>
                                </ul>
                            </li>

                            <li><a href="#" title="">Compare Product</a>
                                <ul>
                                    <li><a href="./compare.html" title="">Compare Product </a></li>
                                    <li><a href="./compare2.html" title="">Compare Product 2</a></li>
                                </ul>
                            </li>
                            <li><a href="./review.html" title="">Review Page</a></li>
                            <li><a href="./404.html" title="">404 Error page</a></li>
                            <li><a href="./faq.html" title="">FAQ Page</a></li>
                            <li><a href="./single-post.html" title="">Single Product</a></li>
                        </ul>
                    </li>


                    <li><a href="./mega-menu.html" title="">Linh kien<span>&nbsp;</span></a>


                    </li>
                    <li><a href="./mega-menu.html" title="">Thong Tin<span>&nbsp;</span></a>
                        <ul class="mega-menu reverse row">
                            <li class="col-md-3">
                                <ul>
                                    <li><span>About</span></li>
                                    <li><a href="#" title="">About Us</a></li>
                                    <li><a href="#" title="">Contact Us</a></li>
                                </ul>
                            </li>
                            <li class="col-md-3">
                                <ul>
                                    <li><span>News</span></li>
                                    <li><a href="#" title="">News</a></li>
                                    <li><a href="#" title="">Promotion</a></li>
                                </ul>
                            </li>
                            <li class="col-md-3">
                                <ul>
                                    <li><span>Services & Support</span></li>
                                    <li><a href="#" title="">Kids Specialist Clothes</a></li>
                                    <li><a href="#" title="">Kids Specialist Clothes</a></li>
                                    <li><a href="#" title="">Kids Specialist Clothes</a></li>
                                    <li><a href="#" title="">Kids Specialist Clothes</a></li>
                                    <li><a href="#" title="">Kids Specialist Clothes</a></li>
                                    <li><a href="#" title="">Kids Specialist Clothes</a></li>
                                </ul>
                            </li>
                        </ul>

                    </li>
                </ul>
            </div>

            <div class="search-header">
                <form/>
                <input type="text" placeholder="Search Here"/><a href="#" title=""><i
                        class="fa fa-search"></i></a></form>
            </div>
        </div>
    </nav>
</header>

<header class="responsive-header">
    <div class="top-bar">


        <ul class="language bar-dropdown">
            <li><a href="#" title=""><i class="fa fa-font"></i>English</a>
                <ul>
                    <li><a href="#" title="">ENGLISH</a></li>
                    <li><a href="#" title="">FRENCH</a></li>
                    <li><a href="#" title="">ARABIC</a></li>
                </ul>
            </li>
        </ul>

    </div>

    <div class="logo">
        <a href="./index.html" title="">
            <img src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/images/logo.png" alt=""/>
        </a>
    </div>

    <div class="search-header">
        <form/>
        <input type="text" placeholder="Search Here"/><a href="#" title=""><i class="fa fa-search"></i></a></form>
    </div>

    <div class="responsive-menu">
        <a class="menu-dropdown-btn" title="">MENU <i class="fa fa-align-justify"></i></a>
        <ul>
            <li><a href="#" title="">Home</a>
                <ul>
                    <li><a href="./index.html" title="">Home Page 1</a></li>
                    <li><a href="./index2.html" title="">Home Page 2</a></li>
                    <li><a href="./index3.html" title="">Home Page 3</a></li>
                    <li><a href="./index4.html" title="">Tech Home Page 1</a></li>
                    <li><a href="./index5.html" title="">Tech Home Page 2</a></li>
                    <li><a href="./index11.html" title="">Tech Home Page 3</a></li>
                    <li><a href="./index6.html" title="">Home Page 6</a></li>
                    <li><a href="./index7.html" title="">Music Home Page</a></li>
                    <li><a href="./index8.html" title="">Home with Sidebar</a></li>
                    <li><a href="./index9.html" title="">Book Home Page</a></li>
                    <li><a href="./index12.html" title="">Book Home Page 2</a></li>
                    <li><a href="./index10.html" title="">Home Page 12</a></li>
                </ul>
            </li>

            <li><a href="#" title="">Features</a>
                <ul>
                    <li><a href="./mega-menu.html" title="">4 Styles Mega Menu</a></li>
                    <li><a href="./header1.html" title="">Header Style 1</a></li>
                    <li><a href="./header2.html" title="">Header Style 2</a></li>
                    <li><a href="./boxed.html" title="">Boxed Layout</a></li>
                    <li><a href="./wide.html" title="">Wide Layout</a></li>
                    <li><a href="./compare.html" title="">Compare Product </a></li>
                    <li><a href="./compare2.html" title="">Compare Product 2</a></li>
                    <li><a href="./widgets.html" title="">Widgets</a></li>
                    <li><a href="./product1.html" title="">Masonary Product</a></li>
                    <li><a href="./product4.html" title="">Masonary Product 2</a></li>
                    <li><a href="./product3.html" title="">Searchable Products</a></li>
                    <li><a href="./product2.html" title="">Products Page</a></li>
                    <li><a href="./price-table.html" title="">2 Price Tables</a></li>
                    <li><a href="./cart.html" title="">Cart</a></li>
                </ul>
            </li>
            <li><a href="#" title="">Pages</a>
                <ul>
                    <li><a href="./blog.html" title="">Masonary Blog</a></li>
                    <li><a href="./blog2.html" title="">Blog One Column</a></li>
                    <li><a href="./product1.html" title="">Masonary Product</a></li>
                    <li><a href="./product4.html" title="">Masonary Product 2</a></li>
                    <li><a href="./product3.html" title="">Searchable Products</a></li>
                    <li><a href="./product2.html" title="">Products Page</a></li>
                    <li><a href="./compare.html" title="">Compare Product </a></li>
                    <li><a href="./compare2.html" title="">Compare Product 2</a></li>
                    <li><a href="./review.html" title="">Review Page</a></li>
                    <li><a href="./404.html" title="">404 Error page</a></li>
                    <li><a href="./faq.html" title="">FAQ Page</a></li>
                    <li><a href="./single-post.html" title="">Single Product</a></li>
                </ul>
            </li>
            <li><a href="#" title="">Shortcode</a>
                <ul>
                    <li><a href="./price-table.html" title="">Price Box</a></li>
                    <li><a href="./office.html" title="">Our Offices</a></li>
                    <li><a href="./skills.html" title="">Our Skills</a></li>
                    <li><a href="./services.html" title="">Our Services</a></li>
                    <li><a href="./team.html" title="">Our Team</a></li>
                    <li><a href="./faq.html" title="">FAQ</a></li>
                </ul>
            </li>

            <li><a href="./about.html" title="">About </a></li>
            <li><a href="./contact.html" title="">Contact</a></li>
        </ul>
    </div>
</header>

<?php echo $content; ?>


<footer class="block last">
    <div class="container">
        <div class="row">
            <div class="col-md-3">
                <div class="footer-about">
                    <h3><i>ABOUT</i> US</h3>

                    <p><?php echo $this->aboutUs->content_dtl ?></p>
                    <ul>
                        <li>
                            <span><i class="fa fa-mobile"></i></span>
                            <?php
                            foreach ($this->phoneContact as $phone) {
                                echo CHtml::openTag("p");
                                echo 'Phone : ';
                                echo $phone->content_dtl;
                                echo CHtml::closeTag("p");
                            }
                            ?>

                        </li>
                        <li><span><i class="fa fa-envelope-o"></i></span>

                            <p>Email: meinto@tolee.com</p>

                            <p>Address: Excel Tower OPG Rpad</p></li>
                    </ul>
                </div>
            </div>

            <div class="col-md-3">
                <div class="footer-product">
                    <h3><i>RECENT</i> PRODUCT</h3>
                    <span><img src="./images/footer-product.jpg" alt=""/></span>
                    <h4><a href="#" title="">Best Offer Seller This Dress</a></h4>

                    <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry inprinting.</p>
                    <ul>
                        <li><a href="#" title=""><i class="fa fa-shopping-cart"></i></a></li>
                        <li><a href="#" title=""><i class="fa fa-heart"></i></a></li>
                    </ul>
                </div>
            </div>

            <div class="col-md-3">
                <div class="footer-post">
                    <h3><i>BLOG</i> POST</h3>
                    <ul>
                        <li><a href="#" title="">Consectetur Adipisicing</a><i>Novermber 20,2013</i></li>
                        <li><a href="#" title="">Consectetur Adipisicing</a><i>Novermber 20,2013</i></li>
                        <li><a href="#" title="">Consectetur Adipisicing</a><i>Novermber 20,2013</i></li>
                        <li><a href="#" title="">Consectetur Adipisicing</a><i>Novermber 20,2013</i></li>
                    </ul>
                </div>
            </div>

            <div class="col-md-3">
                <div>
                    <h3><i>FACEBOOK</i></h3>

                    <div id="fb-root"></div>
                    <script>(function (d, s, id) {
                            var js, fjs = d.getElementsByTagName(s)[0];
                            if (d.getElementById(id)) return;
                            js = d.createElement(s);
                            js.id = id;
                            js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
                            fjs.parentNode.insertBefore(js, fjs);
                        }(document, 'script', 'facebook-jssdk'));</script>
                    <?php
                    if (isset($this->facebookContact)) {
                        echo CHtml::openTag("div", array(
                            "class" => "fb-like-box",
                            "data-href" => "http://facebook.com/" . $this->facebookContact->content_dtl,
                            "data-show-faces" => "true",
                            "data-stream" => "false",
                            "data-show-border" => "false",
                            "data-header" => "false",
                            "data-color-scheme" => "dark",
                            "data-connections" => "10"));
                        echo CHtml::closeTag("div");
                    }
                    ?>
                </div>


            </div>

        </div>
    </div>

</footer>

<div class="bottom-line">
    <div class="container">
        <div class="row">
            <div class="col-md-6">
                <ul class="bottom-menu">

                </ul>
            </div>
            <div class="col-md-6">
                <ul class="bottom-menu">
                    <li><a href="#" title="">Contact Us</a></li>
                </ul>
            </div>

        </div>
    </div>
    <span>Supply 2014. Design by  <i> Quat Toan Cau</i>.</span>
</div>


</div>


<!-- Script -->
<!--[if lt IE 9]>
<script src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/js/jquery/jquery-1.8.3.min.js"></script>
<![endif]-->
<!--[if gte IE 9]><!-->
<script src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/js/jquery/jquery-1.10.2.js"></script>
<!--<![endif]-->

<script src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/js/script.js"></script>
<!-- Common -->
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/js/bootstrap.min.js"></script>
<!-- Bootstrap -->
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/js/modernizr.js"></script>
<!-- modernizr -->
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/js/owl.carousel.min.js"></script>
<!-- Owl Carousal -->
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/js/onscreen.js"></script>
<!-- On Screen -->
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/js/switcher.js"></script>
<!-- Style Switcher -->
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/js/comm/ajaxComm.js"></script>
<!-- Style Switcher -->
<!-- SLIDER REVOLUTION -->
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/js/jquery.themepunch.plugins.min.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/js/jquery.themepunch.revolution.min.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl ?>/assets/main/js/plugins/unveil/jquery.unveil.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $(".language a").bind("click", function (e) {
            if ($(this).hasClass("active")) return;
            var language = $(this).data("lang");
            $.ajax({
                url: $(location).attr('pathname'),
                data: {LANG_CODE: language},
                success: function (e) {

                }
            })
        });

    });
</script>


</body>
